package com.guigu.dao;

import com.github.pagehelper.Page;
import com.guigu.pojo.CheckItem;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CheckItemMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(CheckItem record);

    int insertSelective(CheckItem record);
    CheckItem selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(CheckItem record);

    int updateByPrimaryKey(CheckItem record);

    public int add(CheckItem checkItem);

    Page<CheckItem> selectByCondition(String queryString);

    public long findCountByCheckItemId(Integer id);

    public int deleteById(Integer id);

    public int edit(CheckItem checkItem);

    public CheckItem findById(Integer id);

    public List<CheckItem> findAll();
}